#ifndef _MY_LOADRESOURCE_H_
#define _MY_LOADRESOURCE_H_
#include "cocos2d.h"
#include "SourceNum.h"
class LoadTextureResource
{
private:	
	void loadBackground();
	void loadRoles();
	void loadTracks();
	void loadAudio();
public:
	cocos2d::CCTexture2D *backgroundTexture[SPRITESNUMS];
	cocos2d::CCTexture2D *backgroundShadowTexture[SHADOWSPRITES];
	cocos2d::CCTexture2D *roleRunTexture[RUNMEMBERS];
	cocos2d::CCTexture2D *roleJumpUpTexture[JUMPUPMEMBERS];
	cocos2d::CCTexture2D *roleJumpDownTexture[JUMPDOWNMEMBERS];
	cocos2d::CCTexture2D *roleFallDownTexture[FALLDOWNMEMBERS];
	cocos2d::CCTexture2D *trackSprites[TRACKSPRITESNUMS];
//	static int totalnum;
	static LoadTextureResource *p;
	static  LoadTextureResource* getShare();
	LoadTextureResource(void);
	~LoadTextureResource(void);
};
#endif

